package com.atguigu.gulimall.product.service;

import com.atguigu.gulimall.product.vo.productInfo.SupSaveVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.SpuInfoEntity;

import java.util.Map;

/**
 * spu信息
 *
 * @author conlin
 * @email sunlightcs@gmail.com
 * @date 2020-12-21 14:16:40
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SupSaveVo vo);

    void saveBaseSpuInfo(SpuInfoEntity infoEntity);

    /**
     * 商品上架
     * @param spuId
     */
    void up(Long spuId);
}

